package com.micai.springboot.vo.tree;

import java.io.Serializable;
import java.util.List;

/**
 * 描述：菜单树VO
 * <p>
 * Author: 赵新国
 * Date: 2017/10/24 18:02
 */
public class TreeMenuVo implements Serializable {

    private Long id;

    private String name;

    private Long pId;

    private Integer type;

    private String menuUrl;

    private String icon;

    private String permission;

    private List<TreeMenuVo> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public List<TreeMenuVo> getChildren() {
        return children;
    }

    public void setChildren(List<TreeMenuVo> children) {
        this.children = children;
    }
}
